scrolledwindow: fix wrong allocation of padding and borders
authorCosimo Cecchi <cosimoc@gnome.org>
Thu, 4 Oct 2012 04:58:29 +0000 (00:58 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Thu, 4 Oct 2012 13:19:30 +0000 (09:19 -0400)
commit1a1361c4b335299384031fa2daee4215a145f07e
treef582003a3a661285c2cdb1361628f88ba95e0bde
parentdd9392a58c67704f0d651b997897779dc699a813
scrolledwindow: fix wrong allocation of padding and borders

When positioning the scrollbar we were doing several miscalculations
when accounting for CSS paddings and borders. This also fixes a number
of problems with RTL and when scrollbars-within-bevel is FALSE.

https://bugzilla.gnome.org/show_bug.cgi?id=685449
gtk/gtkscrolledwindow.c